The State of Auckland’s Buses

<style type="text/css">code{white-space: pre;}</style>

<link href="data:text/css;charset=utf-8,%2Ereveal%20section%20h1%2Etitle%20%7B%0A%7D%0A%2Ereveal%20section%20h2%2Eauthor%20%7B%0A%7D%0A%2Ereveal%20section%20h3%2Edate%20%7B%0Amargin%2Dtop%3A%20300px%3B%0Afont%2Dsize%3A%2024px%3B%0A%7D%0A%2Ereveal%20section%20h1%3Anot%28%2Etitle%29%20%7B%0Afont%2Dsize%3A%201%2E6em%3B%0A%7D%0A%2Ereveal%20section%20img%20%7B%0Aborder%3A%20none%3B%0Abox%2Dshadow%3A%20none%3B%0A%7D%0A%2Ereveal%20section%20%2EbigN%20%7B%0Afont%2Dsize%3A%202em%3B%0Afont%2Dweight%3A%20bold%3B%0A%7D%0A%2Ereveal%20section%20%2Elate%20%7B%0Acolor%3A%20%23d35400%3B%0A%7D%0A%2Ereveal%20section%20%2Eontime%20%7B%0Acolor%3A%20%231c9c1c%3B%0A%7D%0A%2Ereveal%20section%20%2Eearly%20%7B%0Acolor%3A%20%233c42a5%3B%0A%7D%0A%2Ereveal%20section%20%2Eq90%20%7B%0Acolor%3A%20%23bd9218%3B%0A%7D%0A%2Ereveal%20section%20%2Eq75%20%7B%0Acolor%3A%20%23914507%3B%0A%7D%0A%2Ereveal%20section%20%2Eq50%20%7B%0Acolor%3A%20%23000000%3B%0A%7D%0A" rel="stylesheet" />
<div class="slides">
<h1 class="title">The State of Auckland’s Buses</h1>
<h2 class="author">A visual overview of the performance of buses in the Auckland transport network</h2>
<h3 class="date">Based on historical and real-time data, updated approximately every 30 minutes,<br>obtained from Auckland Transport’s public GTFS API</h3>

Real-time and historical bus data

  • Using the public GTFS API provided by Auckland Transport, we obtain …
    • GPS positions (= position on a map), and
    • the current delay (= difference between scheduled and actual arrival time at last stop)
    … for all active buses in the network.


  • Using data collected over the last 10 weeks, we can see if today is better or worse than usual

How many buses?

  • Peak periods: A morning, B school, C evening
  • The coloured areas represent the proportion
    of buses that are, from top to bottom,
    • late by more than 5 minutes
    • on time (within 5 minutes of schedule)
    • more than 5 minutes early

As of 2:30 pm today

  • 328 of 421 buses were on time
  • 32 were running more than 5 minutes late
  • 61 were more than 5 minutes early

Today vs. last 10 Mondays

  • number and percentage of buses early, ontime, or late
  • comparing average (dashed) of past Thursdays with today

This week vs. last 4 weeks

  • percentage of buses early, ontime, or late

So, just how late is late?

  • Each dot represents one vehicle’s delay at 2:39 PM
  • the bar contains 90%, 75%, and 50% of buses

Delays so far today

  • rotating the bar from the previous graph, we see how the distribution of delays has changed today

Today vs. last 10 Mondays

  • coloured lines represent the 5% and 95%, 12.5% and 87.5%, and 25% and 75% quantiles of bus delays

This week vs. last 4 weeks

  • the regions contain 90%, 75%, and 50% of buses
</div>